﻿<%@ Page Title="Airline Daily Sale Report" Language="C#" Culture="auto" UICulture="auto" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AirlineDailySaleReport.aspx.cs" Inherits="IFD2.AirlineDailySaleReport" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link href="Datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css"/>

    <form id="form1" runat="server" role="form" class="form-inline">
    <div class="container-fluid body-content" style="width:100%;">
        
        <div class="row">
            <div class="col-sm-2 well well-sm">
                <h5><asp:Literal ID="litTitle" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h5>
            </div>

            <div class="col-sm-10 well well-sm">
                <div class="panel">
                    <div class="panel-heading btn-primary">
                        <h6 class="panel-title" id="section-2"><asp:Literal ID="Literal1" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h6>
                    </div>
                    <div class="panel-body">
                        <asp:Label ID="Label2" runat="server" Text="Date(UTC):" meta:resourcekey="DateUTC"></asp:Label>
                        &nbsp;<asp:TextBox ID="txtDate1" CssClass="form_datetime" runat="server" Width="150px" MaxLength="16"></asp:TextBox>
                        &nbsp;+ 24h&nbsp;
                        <asp:TextBox ID="txtDate2" runat="server" Width="16px" Visible="False" ForeColor="Red">X</asp:TextBox><br /><br />
                        <div class="btn-group">
                            <asp:Button ID="btnSaleRpt" runat="server" CssClass="btn btn-sm btn-default" Text="Sale Report" OnClick="btnSaleRpt_Click"  meta:resourcekey="SaleReport" />
                            <asp:Button ID="btnRefundRpt" runat="server" CssClass="btn btn-sm btn-default" Text="Refund Report" OnClick="btnRefundRpt_Click"  meta:resourcekey="RefundReport" />
                            <asp:Button ID="btnMiscSale" runat="server" CssClass="btn btn-sm btn-default" onclick="btnMiscSale_Click"  meta:resourcekey="MiscSale" Text="Misc. Saling" />
                            <asp:Button ID="btnMiscRefund" runat="server" CssClass="btn btn-sm btn-default" onclick="btnMiscRefund_Click"  meta:resourcekey="MiscRefund" Text="Misc. Refund" />
                        </div>
                        <br />
                        <asp:Label ID="lblError" runat="server" CssClass="ifdMessage"></asp:Label>
                    </div>
                </div>
            </div>
        </div>

    </div></form>

    <script src="Datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
    <script>
        $(document).ready(function () {
            $('.form_datetime').datetimepicker({
                format: 'yyyy-m-d hh:ii',
                weekStart: 1,
                todayBtn: 1,
                autoclose: 1,
                todayHighlight: 1,
                startView: 'month',
                forceParse: 0,
                showMeridian: 0
            });
            //$('.form_date').datetimepicker({
            //    format: 'yyyy-m-d',
            //    weekStart: 1,
            //    todayBtn: 1,
            //    autoclose: 1,
            //    todayHighlight: 1,
            //    startView: 'month',
            //    minView: 'month',
            //    forceParse: 0
            //});
            //$('.form_time').datetimepicker({
            //    format: 'hh:ii' ,
            //    weekStart: 1,
            //    todayBtn:  1,
            //    autoclose: 1,
            //    todayHighlight: 1,
            //    startView: 'day',
            //    minView: 'hour',
            //    maxView: 'day',
            //    forceParse: 0
            //});
       });
  	</script>
</asp:Content>
